package com.ggqq.singlemodel;

//静态内部类     (不安全，可以通过反射破解)
public class Holder {
    private Holder(){

    }

    public static Holder getInstance(){
        return InnerClass.HOLDER;
    }
    public static class InnerClass{
        private static  final Holder HOLDER = new Holder();

    }
}
